const mongoose = require("mongoose")
var mongodb = mongoose.createConnection( 'mongodb://127.0.0.1:27017/movies', {
    useNewUrlParser: true,
    useUnifiedTopology:true
});
var Schema = mongoose.Schema
module.exports ={
    mongodb,
    Schema
} 